

module dynamic_seg_led_top(
    input sys_clk,
    input sys_rst,
    
    output [7:0] seg_led,
    output [5:0] seg_sel

);

//wire define 
wire [19:0] data;
wire  [5:0] points;
wire        en;

//数码管动态显示模块
dynamic_seg_led u_dynamic_seg_led (
    .sys_clk        (sys_clk),
    .sys_rst        (sys_rst),
    
    .data           (data),
    .points         (points),
    .en              (en),
    
    .seg_led        (seg_led),
    .seg_sel        (seg_sel)
);

//计数器模块

dynamic_seg_led_timer u_dynamic_seg_led_timer (
    .sys_clk         (sys_clk),
    .sys_rst         (sys_rst),
    
    .data             (data),
    .points          (points),
    .en               (en)
);


endmodule